/*通配符*/
* {
    margin: 0;
    padding: 0;
}

/*元素选择器标签*/
/*div {*/
/*    !*如果不写宽度，默认浏览器宽度-外边距margin               *!*/
/*    !*width: 600px;*!*/
/*    height: 200px;*/
/*    !*border 三个参数  像素边框大小   边框形状   边框颜色*!*/
/*    border: 1px solid red;*/
/*}*/
.top {
    background-image: url("../img/banner_qtah.jpg");
    height: 808px;
    background-size: 100% 100%;
}

.logo {
    width: 1000px;
    height: 141px;
    margin: 0 auto;
    /*border: 1px solid red;*/
    color: white;
}

.floatLeft {
    float: left;
}

.floatRight {
    float: right;
}

/*子代选择第一代*/
.logo > div:first-child {
    float: left;
    height: 141px;
}

.logo > div:last-child {
    float: right;
}

/*后代选择器*/
.logo .floatRight {
    line-height: 141px;
}

.logo .floatLeft {
    margin-top: 55px;
}

/*---------------------------------导航--------------------------------*/
.nav {
    background-color: #e69137;
    height: 50px;
}

.nav .content {
    width: 1000px;
    height: 50px;
    /*border: 1px solid red;*/
    /*margin
    一个参数：四周
    2个参数：上下   左右
    3个参数：上  左右  下
    4个参数：上 右  下 左
    */
    margin: 0 auto;
}

.nav .content div {
    float: left;
    line-height: 50px;
    padding: 0 20px;
    color: white;
}

.nav .content div:hover {
    background-color: aqua;
}

.nav ul {
    list-style: none;

}

.nav ul li {
    float: left;
    line-height: 50px;
    padding: 0 20px;
    color: white;
}

.nav ul li:hover {
    background-color: aqua;
}

/*-----------------------广告--------------------------------------*/
.ad .content {
    width: 1000px;
    height: 600px;
    margin: auto;
    /*border: 1px solid red;*/
}

.ad {
    color: white;
}

/*品味生活*/
.ad .content > div:first-child {
    font-size: 40px;
    line-height: 100px;
    margin-top: 40px;
}

.ad .content > div:nth-child(2) p {
    margin: 5px 0;
}

.ad .content > div:nth-child(3) div {
    line-height: 50px;
    font-size: 25px;
}

.ad .content > div:nth-child(3) > div:first-child span:nth-child(even) {
    color: #e69137;
    font-size: 35px;
}

.ad .content > div:nth-child(3) > div:last-child {
    color: #e69137;
    font-size: 35px;
    text-indent: 2em;
}
